package com.gopay.common.log.constants;

import com.gopay.common.log.ot.LogOTTransferVO;

import java.util.HashMap;
import java.util.Map;

/**
 * Created by zhaojunting on 2016/6/28.
 * 交易类型
 */
public enum LogOTTransferCd {

    //单笔付款到银行审核
    PER_TO_BANK_AUDIT("01"),
    //批量付款到银行审核
    BATCH_TO_BANK_AUDIT("02"),
    //单笔付款到国付宝审核
    PER_TO_GOPAY_AUDIT("03"),
    //批量付款到国付宝审核
    BATCH_TO_GOPAY_AUDIT("04"),
    //单笔付款到国付宝确认
    PER_TO_GOPAY_CONFIRM("05"),
    //批量付款到国付宝确认
    BATCH_TO_GOPAY_CONFIRM("06"),
    //单笔付款到银行确认
    PER_TO_BANK_CONFIRM("07"),
    //批量付款到银行确认
    BATCH_TO_BANK_CONFIRM("08");


    public final String value;

    private LogOTTransferCd(String value){
        this.value = value;
    }

    public Map<String, String> getTransferCdMap() {
        HashMap<String, String> map = new HashMap<String, String>();

        map.put(PER_TO_BANK_AUDIT.value, "单笔付款到银行审核");
        map.put(BATCH_TO_BANK_AUDIT.value, "批量付款到银行审核");
        map.put(PER_TO_GOPAY_AUDIT.value, "单笔付款到国付宝审核");
        map.put(BATCH_TO_GOPAY_AUDIT.value, "批量付款到国付宝审核");
        map.put(BATCH_TO_GOPAY_AUDIT.value, "单笔付款到国付宝确认");
        map.put(BATCH_TO_GOPAY_AUDIT.value, "批量付款到国付宝确认");
        map.put(BATCH_TO_GOPAY_AUDIT.value, "单笔付款到银行确认");
        map.put(BATCH_TO_GOPAY_AUDIT.value, "批量付款到银行确认");

        return map;
    }
}
